home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / interfac / it.dig / scripts / DefineSprite_291 / frame_3 / DoAction.as
Text File  |  2010-11-09  |  1KB  |  43 lines

  1. stop();
  2. executar_btn.setStyle("fontFamily","Verdana");
  3. executar_btn.setStyle("fontWeight","bold");
  4. executar_btn.setStyle("color","#FFFFFF");
  5. executar_btn.enabled = true;
  6. onEnterFrame = function()
  7. {
  8.    var _loc3_ = _root.descri.caminho.text;
  9.    _loc3_ = _loc3_.substring(_loc3_.length - 3,_loc3_.length);
  10.    if(this.comando.text == "ABRIR")
  11.    {
  12.       _root.descri.executar_btn.label = "OPEN";
  13.    }
  14.    else if(this.comando.text == "LINK")
  15.    {
  16.       _root.descri.executar_btn.label = "DOWNLOAD";
  17.    }
  18.    else if(this.comando.text == "EXECUTAR")
  19.    {
  20.       _root.descri.executar_btn.label = "RUN";
  21.    }
  22.    else if(this.comando.text == "INSTALAR")
  23.    {
  24.       _root.descri.executar_btn.label = "INSTALL";
  25.    }
  26.    else if(this.comando.text == "run.app")
  27.    {
  28.       _root.descri.executar_btn.label = "INSTALAR";
  29.    }
  30.    else if(this.comando.text == "JOGAR")
  31.    {
  32.       _root.descri.executar_btn.label = "PLAY";
  33.    }
  34.    else if(this.comando.text == "FLV")
  35.    {
  36.       _root.descri.executar_btn.label = "PLAY";
  37.    }
  38.    else if(this.comando.text == "MINI")
  39.    {
  40.       _root.descri.executar_btn.label = "PLAY";
  41.    }
  42. };
  43.